﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Model;
using DuncanDAL;

namespace BLL
{
    public class AddPayRecordsTransaction:ICommand
    {
        public AddPayRecordsTransaction(T_PayRecordsObject _payRecord)
        {
            payRecord = _payRecord;
        }

        private T_PayRecordsObject payRecord;


        #region ICommand 成员

        public void Execute()
        {
            PayRecordsDataService objPayRecordsDataService = new PayRecordsDataService();
            objPayRecordsDataService.Create(payRecord);
        }

        #endregion
    }
}
